﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkBasket.Data.Entities
{
    public class DomainUnit
    {
        [Key]
        public int DomainUnitID { get; set; }

        public int UnitID { get; set; }
        public int DomainID { get; set; }
        [JsonIgnore]
        public virtual Domain Domain{get;set;}
        [JsonIgnore]
        public virtual Unit Unit { get; set; }

    }
}
